package com.kaili.controller.web.v1;

import com.kaili.version.ApiVersion;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.*;

@ApiVersion(1)
@RequestMapping("/{api_version}")
@RestController
@Api(tags = "pda网络接口测试", description = "pda网络接口测试相关API")
public class NetTestController {
    private Logger logger = LoggerFactory.getLogger(getClass());

    @GetMapping("/netTest")
    @ApiOperation("网络测试接口")
    public String netTest(@RequestParam("ewb_no")String ewb_no){
        logger.debug("网络通畅无异常-单号:"+ewb_no);
        return "网络通畅无异常-单号:"+ewb_no;
    }
}